package com.mls.fivedistrict.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 记录产生途径枚举
 * Created by chenxiuxiang on 2018/3/24.
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum RecordProductTypeEnum {
    MINING("挖矿收入", "mining"),
    INVITE_FRIENDS("邀请好友", "invite_friends"),
    ACTIVITY("活动赠送", "activity"),
    REGISTER("注册奖励", "注册奖励"),
    PARADROP("空投计划", "空投计划"),
    EXTRACT("提取资产", "extract"),
    COMMUNITYLEADERSREWARD("社区首领奖励", "community_leaders_reward"),
    COMMODITYEXCHANGE("商品兑换", "commodity_exchange"),
    VOTE("投票", "vote"),
    CONTRIBUTION("贡献", "contribution"),
    TRANSFER("转账", "transfer"),
    AUTHENTICATION("实名认证", "authentication"),
    SECOND_INVITE("二级邀请", "secondInvite"),
    REBATE("返利", "rebate"),
    OTHER("其他", "other");


    private String desc;
    private String value;

    RecordProductTypeEnum(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
